package com.hospital.hospitalsystem.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author qiancheng@cqxyy.net
 * @date 2022/12/29
 */
@Data
@Component
public class HospitalProperties {

    //发送邮箱
    @Value("${spring.mail.username}")
    private String sendEmail;

    //验证码超时时间
    @Value("${email.time}")
    private Integer overTime;

    //快递鸟用户id
    @Value("${kdn.userId}")
    private String eBusinessID;

    //快递鸟用户key
    @Value("${kdn.userKey}")
    private String apiKey;

    //token超时时间
    @Value("${token.overtime}")
    private Integer tokenOverTime;
}
